# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '.\assets\main.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1054, 796)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMaximumSize(QtCore.QSize(1920, 1080))
        MainWindow.setStyleSheet("* {\n"
"background-color: #e4e8f1;\n"
"}")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setStyleSheet("")
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.label = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout_10.addWidget(self.label)
        self.comboBox = QtWidgets.QComboBox(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(0, 0))
        self.comboBox.setMaximumSize(QtCore.QSize(250, 16777215))
        font = QtGui.QFont()
        font.setFamily("Arial")
        font.setPointSize(10)
        self.comboBox.setFont(font)
        self.comboBox.setStyleSheet("#comboBox {\n"
"    border-radius: 5px;\n"
"    padding-left: 10px;\n"
"    height: 30px;\n"
"    border: 2px solid #bfbfbf;\n"
"}\n"
"#comboBox::drop-down {\n"
"    border: 0px;\n"
"}\n"
"#comboBox::down-arrow {\n"
"    image: url(:/icons/arrow.png);\n"
"    width: 12px;\n"
"    height: 12px;\n"
"    margin-right: 15px;\n"
"}\n"
"#comboBox:on {\n"
"    border: 4px solid #c2dbfe;\n"
"}\n"
"#comboBox:hover {\n"
"    border: 2px solid #8ab3f5;\n"
"}\n"
"\n"
"#comboBox QListView {\n"
"    padding: 5px;\n"
"    background-color:#e4e8f1;\n"
"    outline: 0px;\n"
"}\n"
"#comboBox QListView:item {\n"
"    background-color: #d5dde7;\n"
"    font-size: 20px;\n"
"    padding-left: 10px;\n"
"}\n"
"#comboBox QListView:item:hover {\n"
"    background-color: #d5dde7;\n"
"}\n"
"")
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.verticalLayout_10.addWidget(self.comboBox)
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_10.addWidget(self.label_2)
        self.toolBox = QtWidgets.QToolBox(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolBox.sizePolicy().hasHeightForWidth())
        self.toolBox.setSizePolicy(sizePolicy)
        self.toolBox.setMinimumSize(QtCore.QSize(0, 100))
        self.toolBox.setMaximumSize(QtCore.QSize(300, 260))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.toolBox.setFont(font)
        self.toolBox.setStyleSheet("#toolBox::tab {\n"
"    border-radius: 4px;\n"
"    height: 50px;\n"
"    font-size: 20px;\n"
"    padding-left: 10px;\n"
"    background-color: #b9b9cc;\n"
"}\n"
"#toolBox::tab:selected {\n"
"    background-color: #c9c9c9;\n"
"}\n"
"#toolBox {\n"
"    border-bottom: 2px solid black;\n"
"}\n"
"#toolBox::tab:hover {\n"
"    background-color: #d5dde7;\n"
"}\n"
"QPushButton {\n"
"    border-radius: 4px;\n"
"    font-size: 16px;\n"
"    min-height: 40px;\n"
"    background-color:#f8f9fb;\n"
"    margin-bottom: 20px;\n"
"    border-bottom: 2px solid #afb2b7;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #d5dde7;\n"
"    color:#3383c2;\n"
"}\n"
"QPushButton:focus {\n"
"    border: 2px solid #afb2b7;\n"
"    background-color: #eff4f8;\n"
"    color:#3383c2;\n"
"}")
        self.toolBox.setObjectName("toolBox")
        self.page_4 = QtWidgets.QWidget()
        self.page_4.setGeometry(QtCore.QRect(0, 0, 273, 224))
        self.page_4.setObjectName("page_4")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.page_4)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.pushButton = QtWidgets.QPushButton(self.page_4)
        self.pushButton.setObjectName("pushButton")
        self.verticalLayout.addWidget(self.pushButton)
        self.pushButton_2 = QtWidgets.QPushButton(self.page_4)
        self.pushButton_2.setObjectName("pushButton_2")
        self.verticalLayout.addWidget(self.pushButton_2)
        self.pushButton_3 = QtWidgets.QPushButton(self.page_4)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())
        self.pushButton_3.setSizePolicy(sizePolicy)
        self.pushButton_3.setMinimumSize(QtCore.QSize(0, 62))
        font = QtGui.QFont()
        font.setPointSize(-1)
        self.pushButton_3.setFont(font)
        self.pushButton_3.setStyleSheet("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.verticalLayout.addWidget(self.pushButton_3)
        self.verticalLayout_5.addLayout(self.verticalLayout)
        self.toolBox.addItem(self.page_4, "")
        self.verticalLayout_10.addWidget(self.toolBox)
        self.line = QtWidgets.QFrame(self.centralwidget)
        self.line.setStyleSheet("Line {\n"
"border: 2px solid #c9c9c9;\n"
"}")
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_10.addWidget(self.line)
        self.pushButton_7 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_7.setStyleSheet("QPushButton {\n"
"    border-radius: 4px;\n"
"    font-size: 16px;\n"
"    min-height: 40px;\n"
"    background-color:#f8f9fb;\n"
"    border-bottom: 2px solid #afb2b7;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #d5dde7;\n"
"    color:#3383c2;\n"
"}\n"
"QPushButton:focus {\n"
"    border: 2px solid #afb2b7;\n"
"    background-color: #eff4f8;\n"
"    color:#3383c2;\n"
"}")
        self.pushButton_7.setObjectName("pushButton_7")
        self.verticalLayout_10.addWidget(self.pushButton_7)
        self.line_2 = QtWidgets.QFrame(self.centralwidget)
        self.line_2.setStyleSheet("Line {\n"
"border: 2px solid #c9c9c9;\n"
"}")
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout_10.addWidget(self.line_2)
        self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_4.setStyleSheet("QPushButton {\n"
"    border-radius: 4px;\n"
"    font-size: 16px;\n"
"    min-height: 40px;\n"
"    background-color:#f8f9fb;\n"
"    border-bottom: 2px solid #afb2b7;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #d5dde7;\n"
"    color:#3383c2;\n"
"}\n"
"QPushButton:focus {\n"
"    border: 2px solid #afb2b7;\n"
"    background-color: #eff4f8;\n"
"    color:#3383c2;\n"
"}")
        self.pushButton_4.setObjectName("pushButton_4")
        self.verticalLayout_10.addWidget(self.pushButton_4)
        self.line_3 = QtWidgets.QFrame(self.centralwidget)
        self.line_3.setStyleSheet("Line {\n"
"border: 2px solid #c9c9c9;\n"
"}")
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout_10.addWidget(self.line_3)
        self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_5.setStyleSheet("QPushButton {\n"
"    border-radius: 4px;\n"
"    font-size: 16px;\n"
"    min-height: 40px;\n"
"    background-color:#f8f9fb;\n"
"    border-bottom: 2px solid #afb2b7;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #d5dde7;\n"
"    color:#3383c2;\n"
"}\n"
"QPushButton:focus {\n"
"    border: 2px solid #afb2b7;\n"
"    background-color: #eff4f8;\n"
"    color:#3383c2;\n"
"}")
        self.pushButton_5.setObjectName("pushButton_5")
        self.verticalLayout_10.addWidget(self.pushButton_5)
        self.line_4 = QtWidgets.QFrame(self.centralwidget)
        self.line_4.setStyleSheet("Line {\n"
"border: 2px solid #c9c9c9;\n"
"}")
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.verticalLayout_10.addWidget(self.line_4)
        self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_6.setStyleSheet("QPushButton {\n"
"    border-radius: 4px;\n"
"    font-size: 16px;\n"
"    min-height: 40px;\n"
"    background-color:#f8f9fb;\n"
"    border-bottom: 2px solid #afb2b7;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #d5dde7;\n"
"    color:#3383c2;\n"
"}\n"
"QPushButton:focus {\n"
"    border: 2px solid #afb2b7;\n"
"    background-color: #eff4f8;\n"
"    color:#3383c2;\n"
"}")
        self.pushButton_6.setObjectName("pushButton_6")
        self.verticalLayout_10.addWidget(self.pushButton_6)
        self.gridLayout_2.addLayout(self.verticalLayout_10, 0, 0, 5, 1)
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox.setStyleSheet("#groupBox {\n"
"    border:none;\n"
"    border-bottom: 2px solid #bfbfbf;\n"
"     background-color: #eff4f8;\n"
"}")
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_24 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_24.sizePolicy().hasHeightForWidth())
        self.pushButton_24.setSizePolicy(sizePolicy)
        self.pushButton_24.setMinimumSize(QtCore.QSize(70, 60))
        self.pushButton_24.setStyleSheet("QPushButton {\n"
"    image: url(:/icons/diskette.png);\n"
"    margin-bottom: 10px;\n"
"     background-color: #eff4f8;\n"
"}")
        self.pushButton_24.setText("")
        self.pushButton_24.setObjectName("pushButton_24")
        self.horizontalLayout.addWidget(self.pushButton_24, 0, QtCore.Qt.AlignBottom)
        self.pushButton_23 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_23.sizePolicy().hasHeightForWidth())
        self.pushButton_23.setSizePolicy(sizePolicy)
        self.pushButton_23.setMinimumSize(QtCore.QSize(70, 60))
        self.pushButton_23.setStyleSheet("QPushButton {\n"
"    image:url(:/icons/save_as.png);\n"
"    margin-bottom: 10px;\n"
"     background-color: #eff4f8;\n"
"}")
        self.pushButton_23.setText("")
        self.pushButton_23.setObjectName("pushButton_23")
        self.horizontalLayout.addWidget(self.pushButton_23, 0, QtCore.Qt.AlignBottom)
        self.pushButton_21 = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_21.sizePolicy().hasHeightForWidth())
        self.pushButton_21.setSizePolicy(sizePolicy)
        self.pushButton_21.setMinimumSize(QtCore.QSize(70, 60))
        self.pushButton_21.setStyleSheet("QPushButton {\n"
"    image:url(:/icons/chart.png);\n"
"    margin-bottom: 10px;\n"
"     background-color: #eff4f8;\n"
"}")
        self.pushButton_21.setText("")
        self.pushButton_21.setObjectName("pushButton_21")
        self.horizontalLayout.addWidget(self.pushButton_21, 0, QtCore.Qt.AlignBottom)
        self.gridLayout_2.addWidget(self.groupBox, 0, 1, 1, 1)
        self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
        self.stackedWidget.setSizePolicy(sizePolicy)
        self.stackedWidget.setMinimumSize(QtCore.QSize(750, 0))
        self.stackedWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.stackedWidget.setStyleSheet("#stackedWidget {\n"
"    background-color: #eff4f8;\n"
"}")
        self.stackedWidget.setObjectName("stackedWidget")
        self.gridLayout_2.addWidget(self.stackedWidget, 1, 1, 4, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menuBar = QtWidgets.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 1054, 26))
        self.menuBar.setObjectName("menuBar")
        self.menu = QtWidgets.QMenu(self.menuBar)
        self.menu.setObjectName("menu")
        self.menu_2 = QtWidgets.QMenu(self.menuBar)
        self.menu_2.setObjectName("menu_2")
        self.menu_3 = QtWidgets.QMenu(self.menuBar)
        self.menu_3.setObjectName("menu_3")
        MainWindow.setMenuBar(self.menuBar)
        self.action = QtWidgets.QAction(MainWindow)
        self.action.setObjectName("action")
        self.action_2 = QtWidgets.QAction(MainWindow)
        self.action_2.setObjectName("action_2")
        self.action_3 = QtWidgets.QAction(MainWindow)
        self.action_3.setObjectName("action_3")
        self.action_4 = QtWidgets.QAction(MainWindow)
        self.action_4.setObjectName("action_4")
        self.action_5 = QtWidgets.QAction(MainWindow)
        self.action_5.setObjectName("action_5")
        self.action_6 = QtWidgets.QAction(MainWindow)
        self.action_6.setObjectName("action_6")
        self.action_ = QtWidgets.QAction(MainWindow)
        self.action_.setObjectName("action_")
        self.menu.addAction(self.action_2)
        self.menu.addAction(self.action_3)
        self.menu.addAction(self.action_4)
        self.menu_2.addAction(self.action_5)
        self.menu_3.addAction(self.action_6)
        self.menuBar.addAction(self.menu.menuAction())
        self.menuBar.addAction(self.menu_2.menuAction())
        self.menuBar.addAction(self.menu_3.menuAction())

        self.retranslateUi(MainWindow)
        self.toolBox.setCurrentIndex(0)
        self.stackedWidget.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.label.setText(_translate("MainWindow", "1. Выберите тип двигателя"))
        self.comboBox.setItemText(0, _translate("MainWindow", "L3"))
        self.comboBox.setItemText(1, _translate("MainWindow", "L4"))
        self.comboBox.setItemText(2, _translate("MainWindow", "L6"))
        self.comboBox.setItemText(3, _translate("MainWindow", "V6"))
        self.comboBox.setItemText(4, _translate("MainWindow", "V8"))
        self.comboBox.setItemText(5, _translate("MainWindow", "V12"))
        self.label_2.setText(_translate("MainWindow", "2. Заполните данные для расчетов"))
        self.pushButton.setText(_translate("MainWindow", "Поршневая группа"))
        self.pushButton_2.setText(_translate("MainWindow", "Геометрия коленвала"))
        self.pushButton_3.setText(_translate("MainWindow", "Масляные канавки"))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_4), _translate("MainWindow", "Параметры двигателя"))
        self.pushButton_7.setText(_translate("MainWindow", "Противовесы коленвала"))
        self.pushButton_4.setText(_translate("MainWindow", "Масляная система"))
        self.pushButton_5.setText(_translate("MainWindow", "Внешние силы"))
        self.pushButton_6.setText(_translate("MainWindow", "Режимы нагружения"))
        self.menu.setTitle(_translate("MainWindow", "Файл"))
        self.menu_2.setTitle(_translate("MainWindow", "Настройки"))
        self.menu_3.setTitle(_translate("MainWindow", "Справка"))
        self.action.setText(_translate("MainWindow", "Создать новый расчет"))
        self.action_2.setText(_translate("MainWindow", "Сохранить"))
        self.action_3.setText(_translate("MainWindow", "Сохранить как"))
        self.action_4.setText(_translate("MainWindow", "Открыть расчет"))
        self.action_5.setText(_translate("MainWindow", "Язык"))
        self.action_6.setText(_translate("MainWindow", "Руководство"))
        self.action_.setText(_translate("MainWindow", "Создать новый расчет"))
from icons import arrow, diskette, chart, save_as
